import request from "@/utils/request";
export function insertConsignee(data) {
  return request({
    url: "/consignee/insert",
    method: "post",
    data: data
  });
}
export function updateConsignee(data) {
  return request({
    url: "/consignee/update",
    method: "post",
    data: data
  });
}
export function deleteConsignee(data) {
  return request({
    url: "/consignee/delete",
    method: "post",
    data: data
  });
}
export function deletesConsignee(data) {
  return request({
    url: "/consignee/deletes",
    method: "post",
    data: data
  });
}
export function enableConsignee(data) {
  return request({
    url: "/consignee/enable",
    method: "post",
    data: data
  });
}
export function enablesConsignee(data) {
  return request({
    url: "/consignee/enables",
    method: "post",
    data: data
  });
}
export function disableConsignee(data) {
  return request({
    url: "/consignee/disable",
    method: "post",
    data: data
  });
}
export function disablesConsignee(data) {
  return request({
    url: "/consignee/disables",
    method: "post",
    data: data
  });
}
export function viewConsignee(params) {
  return request({
    url: "/consignee/view",
    method: "get",
    params: params
  });
}
export function pageConsignee(params) {
  return request({
    url: "/consignee/page",
    method: "get",
    params: params
  });
}
export function searchConsignee(params) {
  return request({
    url: "/consignee/search",
    method: "get",
    params: params
  });
}
